<template>
  <van-tabbar
    v-model="active"
    active-color="#ff6700"
    inactive-color="#000"
    route
    :placeholder="true"
  >
    <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
    <van-tabbar-item icon="coupon-o" to="/classify">分类</van-tabbar-item>
    <van-tabbar-item icon="cart-o" to="/shopcart">购物车</van-tabbar-item>
    <van-tabbar-item icon="user-o" to="/my">我的</van-tabbar-item>
  </van-tabbar>
</template>


<script>
export default {
  name: "Tabbar",
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style>
</style>